using PandaWebAPI.Models.ef;

namespace PandaWebAPI.Services
{
    public interface IOrderService : IBaseService<Order>
    {
        Task<List<Order>> GetOrdersByUserIdAsync(Guid userId);
        Task<List<Order>> GetOrdersByStatusAsync(byte status);
        Task<Order> UpdateOrderStatusAsync(Guid orderId, byte status);
        Task<Order> AddOrderItemAsync(Guid orderId, OrderItem item);
        Task<Order> RemoveOrderItemAsync(Guid orderId, Guid itemId);
        Task<decimal> CalculateOrderTotalAsync(Guid orderId);
    }
} 